@import '../../../css/colorVar.less';

.mainNews {
  background: @main_body_bg;
  height: 100%;

  .cardBody {
    margin-bottom: 12px;

    .ant-form {
      padding-bottom: 15px;
    }
  }

  .newsList {
    display: flex;
    height: inherit;

    > div:first-child {
      width: 158px;
      margin-right: 20px;

      > ul {
        height: 100%;
      }
    }

    > div:last-child {
      flex: 1;
    }

    .pageBtn {
      margin: 10px 0;
      text-align: right;

      span {
        cursor: pointer;
      }

      span > :first-child {
        margin-right: 10px;
      }

      .disabledBtn {
        cursor: not-allowed;
      }
    }
  }

  .hidden {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin: 0;
  }
}
